@import "../themes/vars";

body {
  height: 100%;
  background-color: #F0F2F5;
}

p, ul, li {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

:global {

  .ant-layout-sider{
    background: #22075e;
  }
  .ant-layout-header{
    background: #22075e;
  }
  .ant-menu-dark .ant-menu-inline.ant-menu-sub{
    background: #531dab;
  }
  .ant-menu.ant-menu-dark, .ant-menu-dark .ant-menu-sub{
    background: #22075e;
  }
  .ant-layout-sider-trigger{
    background: #22075e;
  }
  //表格ant-table
  .ant-table {
    .ant-table-thead > tr > th {
      text-align: center;
    }
    .ant-table-tbody > tr > td {
      text-align: center;
    }
  }
  //卡片ant-card
  .ant-card {
    border-radius: @border-radius-base;
  }
/*  .ant-btn-primary {
    background: @primary-color;
  }*/

  // 调整选择框颜色
  .ant-radio {
    .ant-radio-inner {
      border-color: #ccc;
    }
  }
  .ant-checkbox-wrapper {
    .ant-checkbox {
      .ant-checkbox-inner {
        border-color: #ddd;
      }
    }
  }

  /*自定义样式*/
  //ant-list
  .special-list {
    color: #333;
    .ant-list-item {
      padding: 24px 0;

      &:first-child {
        padding-top: 0;
      }
    }
    .ant-list-item-meta {
      margin-bottom: 24px;
    }
    .ant-list-item-meta-title {
      margin-bottom: 0;
      font-size: 16px;
      color: #333;
      font-weight: bold;
    }
    .ant-list-item-content {
      &:last-child {
        margin-bottom: 0;
      }
    }
  }

  //ant-card
  .special-card {
    padding: 32px;
    color: #333;
    margin-bottom: 32px;
    background: #eeeeee;
    .row-style {
      margin-bottom: 24px;
      word-break: break-all;
      .ant-col {
        padding-right: 5px;
      }
      &:last-child {
        margin-bottom: 0;
      }
    }
    .ant-card {
      &-head {
        padding-left: 0;
        padding-right: 0;
        border-bottom: none;
        &-title {
          padding: 0;
          font-size: 18px;
          font-weight: bold;
        }
      }
      &-body {
        padding: 0;
      }
    }
    .ant-form-item-control-wrapper .ant-calendar-picker {
      width: 100%;
    }
    .ant-input-number {
      width: 100%;
    }
    .labelColStyle {
      display: flex;
      .ant-form-item-control-wrapper {
        width: 70%;
      }
    }
  }

  .operation-interval {
    display: flex;
    align-items: center;
    justify-content: center;
    .ant-btn {
      margin: 18px;
    }
  }
  .common-notification {
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
    .ant-notification-notice-btn {
      float: left;
      margin-top: 16px;
      margin-left: 48px;
    }
  }
  .spinClass {
    width: 100%;
    overflow: auto;
  }
}
